package com.nengchuan.eic.nceconomy.dao;

import com.nengchuan.eic.nceconomy.entity.po.OriginIndexData;
import com.nengchuan.eic.nceconomy.entity.po.TemplateDic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nengchuan.eic.nceconomy.entity.vo.OriginIndexDataHaveSon;
import com.nengchuan.eic.nceconomy.entity.vo.TemplateDicHaveSon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 模板字典表 Mapper 接口
 * </p>
 *
 * @author luoping
 * @since 2020-04-23
 */
@Repository
public interface TemplateDicMapper extends BaseMapper<TemplateDic> {

    int insertList(@Param("data") List<TemplateDic> data);

    List<TemplateDicHaveSon> getSheetListByPid(@Param("id")Long id, @Param("sheetId") Long sheetId);

    List<String> getTitleBySheetName(@Param("sheetName") String sheetName,@Param("lineNum")Integer lineNum);
}
